Optimal. Leaf size=98 \[ \frac {b^2 \log \left (a+b x^2\right )}{2 (b c-a d)^3}-\frac {b^2 \log \left (c+d x^2\right )}{2 (b c-a d)^3}+\frac {b}{2 \left (c+d x^2\right ) (b c-a d)^2}+\frac {1}{4 \left (c+d x^2\right )^2 (b c-a d)} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 98, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {444, 44} \begin {gather*} \frac {b^2 \log \left (a+b x^2\right )}{2 (b c-a d)^3}-\frac {b^2 \log \left (c+d x^2\right )}{2 (b c-a d)^3}+\frac {b}{2 \left (c+d x^2\right ) (b c-a d)^2}+\frac {1}{4 \left (c+d x^2\right )^2 (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 444
Rubi steps
\begin {align*} \int \frac {x}{\left (a+b x^2\right ) \left (c+d x^2\right )^3} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {1}{(a+b x) (c+d x)^3} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (\frac {b^3}{(b c-a d)^3 (a+b x)}-\frac {d}{(b c-a d) (c+d x)^3}-\frac {b d}{(b c-a d)^2 (c+d x)^2}-\frac {b^2 d}{(b c-a d)^3 (c+d x)}\right ) \, dx,x,x^2\right )\\ &=\frac {1}{4 (b c-a d) \left (c+d x^2\right )^2}+\frac {b}{2 (b c-a d)^2 \left (c+d x^2\right )}+\frac {b^2 \log \left (a+b x^2\right )}{2 (b c-a d)^3}-\frac {b^2 \log \left (c+d x^2\right )}{2 (b c-a d)^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 98, normalized size = 1.00 \begin {gather*} \frac {b^2 \log \left (a+b x^2\right )}{2 (b c-a d)^3}-\frac {b^2 \log \left (c+d x^2\right )}{2 (b c-a d)^3}+\frac {b}{2 \left (c+d x^2\right ) (b c-a d)^2}-\frac {1}{4 \left (c+d x^2\right )^2 (a d-b c)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\left (a+b x^2\right ) \left (c+d x^2\right )^3} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.56, size = 254, normalized size = 2.59 \begin {gather*} \frac {3 \, b^{2} c^{2} - 4 \, a b c d + a^{2} d^{2} + 2 \, {\left (b^{2} c d - a b d^{2}\right )} x^{2} + 2 \, {\left (b^{2} d^{2} x^{4} + 2 \, b^{2} c d x^{2} + b^{2} c^{2}\right )} \log \left (b x^{2} + a\right ) - 2 \, {\left (b^{2} d^{2} x^{4} + 2 \, b^{2} c d x^{2} + b^{2} c^{2}\right )} \log \left (d x^{2} + c\right )}{4 \, {\left (b^{3} c^{5} - 3 \, a b^{2} c^{4} d + 3 \, a^{2} b c^{3} d^{2} - a^{3} c^{2} d^{3} + {\left (b^{3} c^{3} d^{2} - 3 \, a b^{2} c^{2} d^{3} + 3 \, a^{2} b c d^{4} - a^{3} d^{5}\right )} x^{4} + 2 \, {\left (b^{3} c^{4} d - 3 \, a b^{2} c^{3} d^{2} + 3 \, a^{2} b c^{2} d^{3} - a^{3} c d^{4}\right )} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.38, size = 174, normalized size = 1.78 \begin {gather*} \frac {b^{3} \log \left ({\left | b x^{2} + a \right |}\right )}{2 \, {\left (b^{4} c^{3} - 3 \, a b^{3} c^{2} d + 3 \, a^{2} b^{2} c d^{2} - a^{3} b d^{3}\right )}} - \frac {b^{2} d \log \left ({\left | d x^{2} + c \right |}\right )}{2 \, {\left (b^{3} c^{3} d - 3 \, a b^{2} c^{2} d^{2} + 3 \, a^{2} b c d^{3} - a^{3} d^{4}\right )}} + \frac {3 \, b^{2} c^{2} - 4 \, a b c d + a^{2} d^{2} + 2 \, {\left (b^{2} c d - a b d^{2}\right )} x^{2}}{4 \, {\left (d x^{2} + c\right )}^{2} {\left (b c - a d\right )}^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 176, normalized size = 1.80 \begin {gather*} -\frac {a^{2} d^{2}}{4 \left (a d -b c \right )^{3} \left (d \,x^{2}+c \right )^{2}}+\frac {a b c d}{2 \left (a d -b c \right )^{3} \left (d \,x^{2}+c \right )^{2}}-\frac {b^{2} c^{2}}{4 \left (a d -b c \right )^{3} \left (d \,x^{2}+c \right )^{2}}+\frac {a b d}{2 \left (a d -b c \right )^{3} \left (d \,x^{2}+c \right )}-\frac {b^{2} c}{2 \left (a d -b c \right )^{3} \left (d \,x^{2}+c \right )}-\frac {b^{2} \ln \left (b \,x^{2}+a \right )}{2 \left (a d -b c \right )^{3}}+\frac {b^{2} \ln \left (d \,x^{2}+c \right )}{2 \left (a d -b c \right )^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.06, size = 211, normalized size = 2.15 \begin {gather*} \frac {b^{2} \log \left (b x^{2} + a\right )}{2 \, {\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )}} - \frac {b^{2} \log \left (d x^{2} + c\right )}{2 \, {\left (b^{3} c^{3} - 3 \, a b^{2} c^{2} d + 3 \, a^{2} b c d^{2} - a^{3} d^{3}\right )}} + \frac {2 \, b d x^{2} + 3 \, b c - a d}{4 \, {\left (b^{2} c^{4} - 2 \, a b c^{3} d + a^{2} c^{2} d^{2} + {\left (b^{2} c^{2} d^{2} - 2 \, a b c d^{3} + a^{2} d^{4}\right )} x^{4} + 2 \, {\left (b^{2} c^{3} d - 2 \, a b c^{2} d^{2} + a^{2} c d^{3}\right )} x^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.35, size = 340, normalized size = 3.47 \begin {gather*} \frac {a^2\,d^2+3\,b^2\,c^2+b^2\,c^2\,\mathrm {atan}\left (\frac {a\,d\,x^2\,1{}\mathrm {i}-b\,c\,x^2\,1{}\mathrm {i}}{2\,a\,c+a\,d\,x^2+b\,c\,x^2}\right )\,4{}\mathrm {i}+b^2\,d^2\,x^4\,\mathrm {atan}\left (\frac {a\,d\,x^2\,1{}\mathrm {i}-b\,c\,x^2\,1{}\mathrm {i}}{2\,a\,c+a\,d\,x^2+b\,c\,x^2}\right )\,4{}\mathrm {i}-2\,a\,b\,d^2\,x^2+2\,b^2\,c\,d\,x^2-4\,a\,b\,c\,d+b^2\,c\,d\,x^2\,\mathrm {atan}\left (\frac {a\,d\,x^2\,1{}\mathrm {i}-b\,c\,x^2\,1{}\mathrm {i}}{2\,a\,c+a\,d\,x^2+b\,c\,x^2}\right )\,8{}\mathrm {i}}{-4\,a^3\,c^2\,d^3-8\,a^3\,c\,d^4\,x^2-4\,a^3\,d^5\,x^4+12\,a^2\,b\,c^3\,d^2+24\,a^2\,b\,c^2\,d^3\,x^2+12\,a^2\,b\,c\,d^4\,x^4-12\,a\,b^2\,c^4\,d-24\,a\,b^2\,c^3\,d^2\,x^2-12\,a\,b^2\,c^2\,d^3\,x^4+4\,b^3\,c^5+8\,b^3\,c^4\,d\,x^2+4\,b^3\,c^3\,d^2\,x^4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 2.87, size = 391, normalized size = 3.99 \begin {gather*} \frac {b^{2} \log {\left (x^{2} + \frac {- \frac {a^{4} b^{2} d^{4}}{\left (a d - b c\right )^{3}} + \frac {4 a^{3} b^{3} c d^{3}}{\left (a d - b c\right )^{3}} - \frac {6 a^{2} b^{4} c^{2} d^{2}}{\left (a d - b c\right )^{3}} + \frac {4 a b^{5} c^{3} d}{\left (a d - b c\right )^{3}} + a b^{2} d - \frac {b^{6} c^{4}}{\left (a d - b c\right )^{3}} + b^{3} c}{2 b^{3} d} \right )}}{2 \left (a d - b c\right )^{3}} - \frac {b^{2} \log {\left (x^{2} + \frac {\frac {a^{4} b^{2} d^{4}}{\left (a d - b c\right )^{3}} - \frac {4 a^{3} b^{3} c d^{3}}{\left (a d - b c\right )^{3}} + \frac {6 a^{2} b^{4} c^{2} d^{2}}{\left (a d - b c\right )^{3}} - \frac {4 a b^{5} c^{3} d}{\left (a d - b c\right )^{3}} + a b^{2} d + \frac {b^{6} c^{4}}{\left (a d - b c\right )^{3}} + b^{3} c}{2 b^{3} d} \right )}}{2 \left (a d - b c\right )^{3}} + \frac {- a d + 3 b c + 2 b d x^{2}}{4 a^{2} c^{2} d^{2} - 8 a b c^{3} d + 4 b^{2} c^{4} + x^{4} \left (4 a^{2} d^{4} - 8 a b c d^{3} + 4 b^{2} c^{2} d^{2}\right ) + x^{2} \left (8 a^{2} c d^{3} - 16 a b c^{2} d^{2} + 8 b^{2} c^{3} d\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________